package com.pgcomb.poweriot.alarmservice.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhengheqi
 * @version 1.0.0
 * @Description: 从mqtt直接接收的告警消息
 * @Date 2021/7/7 16:28t
 */
@Data
public class AlarmMqtt {

    @ApiModelProperty(value = "设备编号", required = true, example = "06000600000E")
    private String equipmentCode;

    @ApiModelProperty(value="告警类型,比如,0：漏电警告,1:温度警告，2:电压警告" ,required= true,example = "2",dataType ="String")
    private String alarmType;

    @ApiModelProperty(value="告警详情" ,required= true, example = "A相电压过高")
    private String alarmMsg;

    @ApiModelProperty(value="告警状态:on/off" ,required= true, example = "on")
    private String alarmStatus = "on";
}
